package com.yami.shop.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleCommentDTO implements Serializable {
    @Schema(description = "评论用户")
    private String userId;

    @Schema(description = "文章id")
    private Long articleId;

    @Schema(description = "上级评论id")
    private Long parentId = 0l;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "评论层级")
    private Integer sort;
}
